package com.xxp.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Admin {
     private  Integer id;
     private String username;
     private String phone;
     private String email;
     private String password;
     private boolean status;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private java.util.Date createtime;
    //修改时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private java.util.Date updatetime;
    //0是管理员,1是用户
    private Integer identity;
}
